import CommonApi from './common'

// 统计分析 /养护工程计量统计
class MaintenanceProjectStatisticApi extends CommonApi {
    constructor() {
        super()
        this.scope = '/'
    }

    static exportAllApi = '/ms/project/summary/export'
    static exportDetailApi = '/ms/project/summary/detail/export'

    // 获取工程列表
    getChapterListByProject(data) {
        const path = '/ms/project/chapter/list'
        return this.post(path, data)
    }
    // 统计数据列表
    getStatisticsList(data) {
        const path = '/ms/project/summary/statistics'
        return this.post(path, data)
    }
    // 统计明细
    getStatisticsDetail(data) {
        const path = '/ms/project/summary/detail'
        return this.post(path, data)
    }
}

export default MaintenanceProjectStatisticApi
